home *** CD-ROM | disk | FTP | other *** search
- The CHMOD command allows the user to change the attribute bytes
- associated with a file on the disk. The ones that you can change are:
-
- n - normal file (what most of them are)
- r - READ-ONLY (list on the directory, but can not be deleted
- unless change it back to NORMAL)
- h - HIDDEN (won't list on a DIR command - you must remember
- that it is there and change it back to NORMAL to
- manipulate it)
- a - set the ARCHIVE bit
-
- The format of the command is
-
- chmod filename attribute
-
- Example
-
- chmod command.com r ; Prevent the command file from being
- deleted
-
- chmod command.com na ; reset back to NORMAL and set the
- ARCHIVE bit
-
- chmod private.txt h ; HIDE my file so no one can see it